package routefinder.module;

public class Vertex {
	private String name;
	private boolean visited;
	
	public Vertex(String name) {
		this.name = name;
		this.visited = false;
	}
	
	public String getName() { return this.name; }
	public void setName(String name) { this.name = name; }
	public boolean visited() { return this.visited; }
	public void visited(boolean b) { this.visited = b; }
	
	public boolean equals(Vertex v) {
		return (v.getName().equals(this.name));
	}
	// Data structure representing a vertex (location)
}
